package org.crapola;

/**
 * Exception thrown when incorrect command-line arguments are passed.
 */
public class UsageException extends RuntimeException {
	private static final long serialVersionUID = 5134615114210043526L;
	/**
	 * Construct a UsageException with a given message.
	 * @param message the message to use
	 */
	public UsageException(String message) {
		super(message);
	}
	/* (non-Javadoc)
	 * @see java.lang.Throwable#getMessage()
	 */
	public String getMessage() {
		return "Usage: " + super.getMessage();
	}
}
